package com.hexacta.hrs.domain.feedback;

import org.apache.commons.lang.builder.EqualsBuilder;

public class FeedbackPeriodResume {

	private String period;

	private Long numberOfEmployees;

	public String getPeriod() {
		return period;
	}

	public void setPeriod(String period) {
		this.period = period;
	}

	public Long getNumberOfEmployees() {
		return numberOfEmployees;
	}

	public void setNumberOfEmployees(Long numberOfEmployees) {
		this.numberOfEmployees = numberOfEmployees;
	}

	public FeedbackPeriodResume(String period, Long numberOfEmployees) {
		super();
		this.period = period;
		this.numberOfEmployees = numberOfEmployees;
	}

	@Override
	public boolean equals(Object obj) {
		if (!(obj instanceof FeedbackPeriodResume)) {
			return false;
		}
		if (this == obj) {
			return true;
		}
		final FeedbackPeriodResume otherObject = (FeedbackPeriodResume) obj;

		return new EqualsBuilder().append(this.period, otherObject.period)
				.append(this.numberOfEmployees, otherObject.numberOfEmployees).isEquals();
	}

}
